package com.warmlight.voicepacket.bean.comm;

import java.io.Serializable;

/**
 * Created by weiweijinpeng on 2018/9/13.
 */

public class PictureBean implements Serializable {

    private static final long serialVersionUID = -7370909438225653390L;



    /**
     * fileName : https://qmwlzb-one-pro.oss-cn-beijing.aliyuncs.com/127311_1520475644.mp4
     * giftCount : 1000
     * reviewerCount : 1200
     * icon : https://nos.netease.com/nim/NDMzNTIzNA==/bmltYV8xMzQyMjUyOTk3XzE1MjA0NzU2NDM0MzBfMzZhMWU3ZmItNzk3Ni00NTNkLWI3ZjItYTU0MmU3NzBkOWFl
     * id : 7713
     * introduction : 救护
     * status: "1",
     * isLike : true
     * musicId : 10002
     * musicName : 爱你一年
     * picUrl : https://qmwlzb-one-pro.oss-cn-beijing.aliyuncs.com/png_1518405284485.png
     * praiseCount : 5
     * recommendStatus : 1
     * room : {"number":0,"roomId":1000,"rtmpPullUrl":"rtmp://push.zzove.net/live/371a57684f60417095cb7db8fff95783?wsRecord=off","status":1,"userCount":10}
     * shareNum : 0
     * shareUrl :
     * title : 六叶子
     */

    private long id;//视频ID
    private String fileName;//文件名(播放地址)
    private String icon;//图标(视频第一帧图片地址)
    private int status;//UNAUDIT(0, "未审核"), PASS(1, "通过"), REFUSE(-1, "拒绝")
    private String advertisePictureUrl;//活动图片地址
    private String advertisePictureForwardUrl;//活动图片链接（活动H5地址）
    private String title;//视频标题
    private String introduction;//视频简介
    private long musicId;//音乐ID
    private String musicName;//音乐标题
    private int reviewerCount;//评论数
    private int giftCount;//送礼数
    private int shareCount;//分享数
    private int praiseCount;//点赞数
    private boolean isLike;//是否点赞
    private long ticketCount;//民票数
    private int recommendStatus;
    private int isFollow;


    public int getIsFollow() {
        return isFollow;
    }

    public void setIsFollow(int isFollow) {
        this.isFollow = isFollow;
    }


    public PictureBean() {
    }

    public long getTicketCount() {
        return ticketCount;
    }
    public void setTicketCount(long ticketCount) {
        this.ticketCount = ticketCount;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getAdvertisePictureUrl() {
        return advertisePictureUrl;
    }

    public void setAdvertisePictureUrl(String advertisePictureUrl) {
        this.advertisePictureUrl = advertisePictureUrl;
    }

    public String getAdvertisePictureForwardUrl() {
        return advertisePictureForwardUrl;
    }

    public void setAdvertisePictureForwardUrl(String advertisePictureForwardUrl) {
        this.advertisePictureForwardUrl = advertisePictureForwardUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public long getMusicId() {
        return musicId;
    }

    public void setMusicId(long musicId) {
        this.musicId = musicId;
    }

    public String getMusicName() {
        return musicName;
    }

    public void setMusicName(String musicName) {
        this.musicName = musicName;
    }

    public int getReviewerCount() {
        return reviewerCount;
    }

    public void setReviewerCount(int reviewerCount) {
        this.reviewerCount = reviewerCount;
    }

    public int getGiftCount() {
        return giftCount;
    }

    public void setGiftCount(int giftCount) {
        this.giftCount = giftCount;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }

    public int getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(int praiseCount) {
        this.praiseCount = praiseCount;
    }

    public int getShareCount() {
        return shareCount;
    }

    public void setShareCount(int shareCount) {
        this.shareCount = shareCount;
    }


    public int getRecommendStatus() {
        return recommendStatus;
    }

    public void setRecommendStatus(int recommendStatus) {
        this.recommendStatus = recommendStatus;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    @Override
    public boolean equals(Object obj) {
//        return super.equals(obj);
        PictureBean bean = (PictureBean) obj;
        if (this.id == bean.id){
            return true;
        }else {
            return false;
        }
    }


}
